package com.prs.crm.dao.person.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.person.MarriageStateDao;
import com.prs.crm.domain.person.MarriageState;

public class MarriageStateDaoImpl extends BaseDaoImpl<MarriageState> implements MarriageStateDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<MarriageState> getAllMarriageState() {
		Criteria criteria=this.getSession().createCriteria(MarriageState.class);
		return criteria.list();
	}
}
